<template>
  <div>
    <!-- <panel @msg="fn" -->
      <!-- this.$emit(msg,值) -->
<!-- 没写完  -->
<panel></panel>
<apple :xxx="arr"></apple>
  </div>
</template>
<script>
import panel from "../zi.vue"
  export default {
    data(){
      return{
        arr:[{
          id:250,
          name:'王铁丸',
          age:3,
          sex:'女'
        }]

    }

    },
  components:{
    panel
  }
  }
</script>
<style>

</style>